html {
  height: 70%;
}
body {
  overflow: hidden;
  color: #f8e9d6;
  font-family: "Lucida Sans Typewriter", "Lucida Console", Monaco, "Bitstream Vera Sans Mono", monospace;
  font-size: 110px;
  background-image: -webkit-radial-gradient(50% 50%, circle, rgb(103, 114, 140) 0%, rgb(69, 76, 94) 36%, rgb(34, 37, 46) 90%);
  background-image: -moz-radial-gradient(50% 50%, circle, rgb(103, 114, 140) 0%, rgb(69, 76, 94) 36%, rgb(34, 37, 46) 90%);
  background-image: -o-radial-gradient(50% 50%, circle, rgb(103, 114, 140) 0%, rgb(69, 76, 94) 36%, rgb(34, 37, 46) 90%);
  background-image: radial-gradient(50% 50%, circle, rgb(103, 114, 140) 0%, rgb(69, 76, 94) 36%, rgb(34, 37, 46) 90%);
  height:70%;
  margin: 0px;
  padding: 0px;
}
body main {
  height: 70%;
  background-size: 18px 18px;
  background-image: url();
  background-image: -webkit-linear-gradient(-45deg, transparent 0%, transparent 40%, rgba(0, 0, 0, .2) 40%, rgba(0, 0, 0, .2) 50%, transparent 50%, transparent 90%, rgba(0, 0, 0, .2) 90%);;
  background-image: -moz-linear-gradient(-45deg, transparent 0%, transparent 40%, rgba(0, 0, 0, .2) 40%, rgba(0, 0, 0, .2) 50%, transparent 50%, transparent 90%, rgba(0, 0, 0, .2) 90%);;
  background-image: -o-linear-gradient(-45deg, transparent 0%, transparent 40%, rgba(0, 0, 0, .2) 40%, rgba(0, 0, 0, .2) 50%, transparent 50%, transparent 90%, rgba(0, 0, 0, .2) 90%);;
  background-image: linear-gradient(-45deg, transparent 0%, transparent 40%, rgba(0, 0, 0, .2) 40%, rgba(0, 0, 0, .2) 50%, transparent 50%, transparent 90%, rgba(0, 0, 0, .2) 90%);;
}
body main .num-anim {
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 130px;
  width: 89px;
}
body main .num-anim .top-half-num,
body main .num-anim .bottom-half-num {
  background-image: url();
  background-image: -webkit-linear-gradient(-90deg, rgba(68, 75, 93, 1), rgba(46, 50, 62, 1) 100%);
  background-image: -moz-linear-gradient(-90deg, rgba(68, 75, 93, 1), rgba(46, 50, 62, 1) 100%);
  background-image: -o-linear-gradient(-90deg, rgba(68, 75, 93, 1), rgba(46, 50, 62, 1) 100%);
  background-image: linear-gradient(180deg, rgba(68, 75, 93, 1), rgba(46, 50, 62, 1) 100%);
  text-align: center;
  overflow: hidden;
  padding-top: 0px;
}
body main .num-anim .top-half-num {
  height: 50%;
}
body main .num-anim .bottom-half-num {
  margin-top: 0px;
  height: 50%;
  margin-top: 65px;
  background-color: #2e323e;
  background-image: none;
}
body main .num-anim .bottom-half-num .dropper {
  margin-top: -68px;
}
body main .num-anim.bottom-anim {
  left: 0px;
  top: 5px;
  -webkit-transform: perspective(80px) rotateX(90deg) rotateY(0deg);;
  -moz-transform: perspective(80px) rotateX(90deg) rotateY(0deg);;
  -o-transform: perspective(80px) rotateX(90deg) rotateY(0deg);;
  -ms-transform: perspective(80px) rotateX(90deg) rotateY(0deg);;
  transform: perspective(80px) rotateX(90deg) rotateY(0deg);;
}
body main .num-anim.bottom-anim.down {
  -webkit-transform: perspective(80px) rotateX(0deg) rotateY(0deg);
  -moz-transform: perspective(80px) rotateX(0deg) rotateY(0deg);
  -o-transform: perspective(80px) rotateX(0deg) rotateY(0deg);
  -ms-transform: perspective(80px) rotateX(0deg) rotateY(0deg);
  transform: perspective(80px) rotateX(0deg) rotateY(0deg);
  -webkit-transition: 0.25s;
  -moz-transition: 0.25s;
  -o-transition: 0.25s;
  transition: 0.25s;
  -webkit-transition-delay: 0.25s;
  -moz-transition-delay: 0.25s;
  -o-transition-delay: 0.25s;
  transition-delay: 0.25s;
}
body main .num-anim.top-anim {
  -webkit-transform: perspective(80px) rotateX(0deg) rotateY(0deg);;
  -moz-transform: perspective(80px) rotateX(0deg) rotateY(0deg);;
  -o-transform: perspective(80px) rotateX(0deg) rotateY(0deg);;
  -ms-transform: perspective(80px) rotateX(0deg) rotateY(0deg);;
  transform: perspective(80px) rotateX(0deg) rotateY(0deg);;
}
body main .num-anim.top-anim.up {
  -webkit-transform: perspective(80px) rotateX(-90deg) rotateY(0deg);
  -moz-transform: perspective(80px) rotateX(-90deg) rotateY(0deg);
  -o-transform: perspective(80px) rotateX(-90deg) rotateY(0deg);
  -ms-transform: perspective(80px) rotateX(-90deg) rotateY(0deg);
  transform: perspective(80px) rotateX(-90deg) rotateY(0deg);
  -webkit-transition: 0.25s;
  -moz-transition: 0.25s;
  -o-transition: 0.25s;
  transition: 0.25s;
}
body main canvas {
  height: 100%;
  width: 100%;
  background-color: transparent;
}
body main #clock {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -75px 0 0 -372.5px;
  height: 100px;
  width: 745px;
}
body main #clock .time-container {
  float: left;
  width: 220px;
  height: 100px;
  margin: 0 0 0 20px;
  border: 1px solid #000;
  -webkit-border-radius: 10px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 10px;
  -moz-background-clip: padding;
  border-radius: 10px;
  background-clip: padding-box;
  background: rgba(24, 24, 40, 0.5);
  -webkit-box-shadow: 0 2px 0px rgba(255, 255, 255, .25), inset 0 2px 0px rgba(0, 0, 0, .25);
  -moz-box-shadow: 0 2px 0px rgba(255, 255, 255, .25), inset 0 2px 0px rgba(0, 0, 0, .25);
  box-shadow: 0 2px 0px rgba(255, 255, 255, .25), inset 0 2px 0px rgba(0, 0, 0, .25);
}
body main #clock .time-container .num {
  position: absolute;
  top: 0px;
  left: 00px;
  display: inline-block;
  z-index: 1;
  height: 50%;
  overflow: hidden;
  width: 100%;
  -webkit-box-shadow: 0 2px 0px rgba(0, 0, 0, .25), inset 0 2px 0px rgba(255, 255, 255, .25);
  -moz-box-shadow: 0 2px 0px rgba(0, 0, 0, .25), inset 0 2px 0px rgba(255, 255, 255, .25);
  box-shadow: 0 2px 0px rgba(0, 0, 0, .25), inset 0 2px 0px rgba(255, 255, 255, .25);
}
body main #clock .time-container .num.bottom {
  top: 53%;
  height: 46%;
}
body main #clock .time-container .num.bottom .bottom-container {
  margin-top: -76%;
}
body main #clock .time-container .fade {
  position: absolute;
  top: -105px;
  left: -41px;
  width: 100%;
  height: 200%;
  background-color: transparent;
  background-image: url();
  background-image: -webkit-linear-gradient(90deg, transparent 35%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .5));
  background-image: -moz-linear-gradient(90deg, transparent 35%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .5));
  background-image: -o-linear-gradient(90deg, transparent 35%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .5));
  background-image: linear-gradient(0deg, transparent 35%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .5));
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  z-index: 2;
}
body main #clock .time-container .digit {
  position: relative;
  float: left;
  width: 88px;
  height: 130px;
  margin: 11px 0 0 15px;
  -webkit-border-radius: 5px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 5px;
  -moz-background-clip: padding;
  border-radius: 5px;
  background-clip: padding-box;
  text-align: center;
  text-shadow: #ffffff 0px -3px 0px, #000000 0px 3px 0px;
  background-color: #353a48;
  -webkit-box-shadow: 0 2px 0px rgba(0, 0, 0, .25), inset 0 2px 0px rgba(255, 255, 255, .25), 2px 2px 3px rgba(0, 0, 0, 1), -2px -2px 3px rgba(0, 0, 0, 1), 2px -2px 3px rgba(0, 0, 0, 1), -2px 2px 3px rgba(0, 0, 0, 1);
  -moz-box-shadow: 0 2px 0px rgba(0, 0, 0, .25), inset 0 2px 0px rgba(255, 255, 255, .25), 2px 2px 3px rgba(0, 0, 0, 1), -2px -2px 3px rgba(0, 0, 0, 1), 2px -2px 3px rgba(0, 0, 0, 1), -2px 2px 3px rgba(0, 0, 0, 1);
  box-shadow: 0 2px 0px rgba(0, 0, 0, .25), inset 0 2px 0px rgba(255, 255, 255, .25), 2px 2px 3px rgba(0, 0, 0, 1), -2px -2px 3px rgba(0, 0, 0, 1), 2px -2px 3px rgba(0, 0, 0, 1), -2px 2px 3px rgba(0, 0, 0, 1);
  background-image: url();
  background-image: -webkit-linear-gradient(-90deg, rgba(68, 75, 93, 1), rgba(46, 50, 62, 1) 100%);
  background-image: -moz-linear-gradient(-90deg, rgba(68, 75, 93, 1), rgba(46, 50, 62, 1) 100%);
  background-image: -o-linear-gradient(-90deg, rgba(68, 75, 93, 1), rgba(46, 50, 62, 1) 100%);
  background-image: linear-gradient(180deg, rgba(68, 75, 93, 1), rgba(46, 50, 62, 1) 100%);
  overflow: hidden;
}
body main #clock .time-container .digit::after {
  content: " ";
  border: 2px solid rgba(0, 0, 0, 0.15);
  width: 80px;
  margin-top: 3px;
  height: 121px;
  -webkit-border-radius: 5px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 5px;
  -moz-background-clip: padding;
  border-radius: 5px;
  background-clip: padding-box;
  display: inline-block;
}
body main #clock .time-container .digit .ring {
  position: absolute;
  top: 58px;
  left: 5px;
  height: 20px;
  width: 7px;
  background-color: #7d7d7d;
  -webkit-box-shadow: 0 2px 0px rgba(0, 0, 0, .25), inset 0 2px 0px rgba(255, 255, 255, .25), 2px 2px 1px rgba(0, 0, 0, .5), -2px -2px 1px rgba(0, 0, 0, .5), 2px -2px 1px rgba(0, 0, 0, .5), -2px 2px 1px rgba(0, 0, 0, .5);
  -moz-box-shadow: 0 2px 0px rgba(0, 0, 0, .25), inset 0 2px 0px rgba(255, 255, 255, .25), 2px 2px 1px rgba(0, 0, 0, .5), -2px -2px 1px rgba(0, 0, 0, .5), 2px -2px 1px rgba(0, 0, 0, .5), -2px 2px 1px rgba(0, 0, 0, .5);
  box-shadow: 0 2px 0px rgba(0, 0, 0, .25), inset 0 2px 0px rgba(255, 255, 255, .25), 2px 2px 1px rgba(0, 0, 0, .5), -2px -2px 1px rgba(0, 0, 0, .5), 2px -2px 1px rgba(0, 0, 0, .5), -2px 2px 1px rgba(0, 0, 0, .5);
  background-image: url();
  background-image: -webkit-linear-gradient(-90deg, rgba(205, 205, 205, 1), rgba(46, 50, 62, 1) 100%);
  background-image: -moz-linear-gradient(-90deg, rgba(205, 205, 205, 1), rgba(46, 50, 62, 1) 100%);
  background-image: -o-linear-gradient(-90deg, rgba(205, 205, 205, 1), rgba(46, 50, 62, 1) 100%);
  background-image: linear-gradient(180deg, rgba(205, 205, 205, 1), rgba(46, 50, 62, 1) 100%);
  z-index: 3;
  -webkit-border-radius: 8px;
  -webkit-background-clip: padding-box;
  -moz-border-radius: 8px;
  -moz-background-clip: padding;
  border-radius: 8px;
  background-clip: padding-box;
}
body main #clock .time-container .digit .ring.ring-right {
  left: 76px;
}
.swapper {
  position: relative;
  z-index: 2;
}
